package com.study.uploadcsv.service;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;

/**
 * @author weixiaochun
 * @date 2022/7/19 20:24
 */
public interface UploadCSVService {

    /**
     * 导出csv文件
     * @param response response
     */
    void upload(HttpServletResponse response) throws UnsupportedEncodingException;

    String readFile(String s) throws IOException;
}
